FROM ubuntu
COPY . /master
RUN  apt-get update && apt-get install -y python3 && apt-get install -y python-pip &&  pip install scrapy==1.5.0 && pip install scrapy-redis==0.6.8 && pip install redis==2.10.6
WORKDIR /master/demo/spiders
CMD ["scrapy","runspider csdn.py"]
